#ifndef HEADDIALOG_H
#define HEADDIALOG_H
#include "ui_headdialog.h"
class HeadDialog : public QDialog, public Ui::HeadDialog
{
	Q_OBJECT

public:
	HeadDialog(QWidget *parent=0, Qt::WindowFlags f=0) : QDialog(parent, f)
	{
		setupUi(this);
		connect(headButton1, SIGNAL(clicked()), this, SLOT(result1()));
		connect(headButton2, SIGNAL(clicked()), this, SLOT(result2()));
		connect(headButton3, SIGNAL(clicked()), this, SLOT(result3()));
	}

private slots:
	void result1() { done(1); }
	void result2() { done(2); }
	void result3() { done(3); }
};
#endif
